package com.fruits;

import lombok.Data;

@Data
public abstract class Fruits {

    private double single_price;

    private double dis_price;

    //购买水果的斤数
    private int num;

    public abstract double totalMoney(int num );
    public abstract double dis_totalMoney(int num );
}
